package com.soda.dao;

import java.util.List;

import com.soda.bean.Information;
import com.soda.bean.Notice;
import com.soda.util.PageInfo;
import com.soda.util.SelectInformInfo;
import com.soda.util.SelectNoticeInfo;

public interface InformationDao {
	//全查
			Information showAllInform(int id);
			//条件查询
			List<Information> getInform(SelectInformInfo sii, PageInfo pi);
			
			
			//分页
			List<Information> selectInform(PageInfo pi);
			int getInformCount(SelectInformInfo sii);
			//删除
			int deleteById(int id);
			//修改
			int updateInform(int id, int recommend, String neirong);	
			//增加
			int addInform(Information n);
			//批量删除
			int delAllInform(String[] nids);
			//韩露露
			List<Information> getSelectAll();
			//韩露露
			Information getinfTitleSelect(String inftitle);
			//导出
			List<Information> exportInform(String[] count);
			//修改状态
			int updateStateNews(int newId, int state);
}
